package cn.edu.hbsi.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import cn.edu.hbsi.domain.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
* @author 21864
* @description 针对表【news_user】的数据库操作Mapper
* @createDate 2025-06-07 18:14:59
* @Entity cn.edu.hbsi.domain.entity.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 通过用户名查询用户
     * @param username
     * @return
     */
    User selectByUsername(@Param("username") String username);
}




